package com.iam.core.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.iam.core.model.SysArgs;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author baily
 * @since 2019-11-22
 */
@Mapper
@Repository
public interface ArgsMapper extends BaseMapper<SysArgs> {

    /**
     * 查询列表
     * @param entity
     * @return
     */
    List<SysArgs> list(SysArgs entity);

    SysArgs selectByCode(String code);
}
